

using System;
using Abp.Application.Services.Dto;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;
using Yozeev.BusinessLogic;

namespace Yozeev.BusinessLogic.Dtos
{
    public class CustomerListDto : ByBranchEntityDto<Guid> 
    {

        
		/// <summary>
		/// CustomerName
		/// </summary>
		[Required(ErrorMessage="CustomerName不能为空")]
		public string CustomerName { get; set; }



		/// <summary>
		/// Mobile
		/// </summary>
		[Required(ErrorMessage="Mobile不能为空")]
		public string Mobile { get; set; }






		/// <summary>
		/// Sex
		/// </summary>
		public SexEnum Sex { get; set; }



		/// <summary>
		/// Country
		/// </summary>
		public string Country { get; set; }



		/// <summary>
		/// Province
		/// </summary>
		public string Province { get; set; }



		/// <summary>
		/// City
		/// </summary>
		public string City { get; set; }



		/// <summary>
		/// County
		/// </summary>
		public string County { get; set; }



		/// <summary>
		/// CertificatesNum
		/// </summary>
		[Required(ErrorMessage="CertificatesNum不能为空")]
		public string CertificatesNum { get; set; }



		/// <summary>
		/// VerifiableType
		/// </summary>
		[Required(ErrorMessage="VerifiableType不能为空")]
		public VerifiableTypeEnum VerifiableType { get; set; }



		/// <summary>
		/// Job
		/// </summary>
		public string Job { get; set; }



		/// <summary>
		/// OpenID
		/// </summary>
		public string OpenID { get; set; }



		/// <summary>
		/// Photo
		/// </summary>
		public string Photo { get; set; }



		/// <summary>
		/// DateOfBirth
		/// </summary>
		public DateTime? DateOfBirth { get; set; }



        public string DateOfBirthStr { get { return DateOfBirth!=null? ((DateTime)DateOfBirth).ToString("yyyy-MM-dd HH:mm:ss"):""; } }
        public string CreationTimeStr { get { return this.CreationTime.ToString("yyyy-MM-dd HH:mm:ss"); } }

    }
}